import Vue from 'vue' //引入vue
import App from './App.vue' //引入app
Vue.config.productionTip = false //关闭vue生产提示


import VueRouter from "vue-router";
import router from "@/router";

Vue.use(VueRouter)
//创建vm
new Vue({
    el: "#app",
    data() {
        return {
            name: "main.js",
        };
    },
    render: h => h(App),
    router:router
})
